﻿using System.Collections.Generic;

namespace GenUI.WPF.GenControls
{
    internal class Node
    {
        public string Name { get; set; }
        public Node ParentNode { get; set; }
        public List<Node> Children { get; set; }
        public Node(string name,Node pNode=null)
        {
            Children=new List<Node>();
            this.Name=name;
            this.ParentNode= pNode;
        }
    }
}
